.class Lde/dealdoktor/app/activities/Search$2;
.super Ljava/lang/Object;
.source "Search.java"

# interfaces
.implements Landroid/widget/AbsListView$OnScrollListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lde/dealdoktor/app/activities/Search;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lde/dealdoktor/app/activities/Search;


# direct methods
.method constructor <init>(Lde/dealdoktor/app/activities/Search;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lde/dealdoktor/app/activities/Search$2;->this$0:Lde/dealdoktor/app/activities/Search;

    .line 77
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onScroll(Landroid/widget/AbsListView;III)V
    .locals 5
    .parameter "view"
    .parameter "firstVisibleItem"
    .parameter "visibleItemCount"
    .parameter "totalItemCount"

    .prologue
    const/4 v1, 0x0

    .line 87
    add-int v2, p2, p3

    if-lt v2, p4, :cond_1

    if-lez p4, :cond_1

    const/4 v0, 0x1

    .line 89
    .local v0, loadMore:Z
    :goto_0
    if-eqz v0, :cond_0

    iget-object v2, p0, Lde/dealdoktor/app/activities/Search$2;->this$0:Lde/dealdoktor/app/activities/Search;

    iget-boolean v2, v2, Lde/dealdoktor/app/activities/Search;->isLoading:Z

    if-nez v2, :cond_0

    .line 90
    new-instance v2, Lde/dealdoktor/app/activities/Search$GetSearchResultsTask;

    iget-object v3, p0, Lde/dealdoktor/app/activities/Search$2;->this$0:Lde/dealdoktor/app/activities/Search;

    iget-object v4, p0, Lde/dealdoktor/app/activities/Search$2;->this$0:Lde/dealdoktor/app/activities/Search;

    #getter for: Lde/dealdoktor/app/activities/Search;->sortByDate:Z
    invoke-static {v4}, Lde/dealdoktor/app/activities/Search;->access$4(Lde/dealdoktor/app/activities/Search;)Z

    move-result v4

    invoke-direct {v2, v3, v4}, Lde/dealdoktor/app/activities/Search$GetSearchResultsTask;-><init>(Lde/dealdoktor/app/activities/Search;Z)V

    new-array v1, v1, [Ljava/lang/String;

    invoke-virtual {v2, v1}, Lde/dealdoktor/app/activities/Search$GetSearchResultsTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    .line 92
    :cond_0
    return-void

    .end local v0           #loadMore:Z
    :cond_1
    move v0, v1

    .line 87
    goto :goto_0
.end method

.method public onScrollStateChanged(Landroid/widget/AbsListView;I)V
    .locals 0
    .parameter "view"
    .parameter "scrollState"

    .prologue
    .line 82
    return-void
.end method
